#pragma once

#include <QMenu>
#include <QWidget>
#include <QAction>
#include <QMap>

class CustomMenu : public QMenu
{
	Q_OBJECT

public:
	CustomMenu(QWidget *parent);
	~CustomMenu();

public:
	void addCustomMenu(const QString& name, const QString &path);
	QAction* getAction(const QString& name);

private:
	QMap<QString, QAction*> m_menuActionMap;
};
